define(["oms_model/model"], function($model){
	
	var project = function(data){
		var _this = this;
		if(data){
			this.projectId = data.projectId;
			this.projectName = data.projectName;
			this.logo = data.logo;
			//是否是当前应用
			this.status = data.status;
			//是否是当前工程
			this.selectStatus = data.selectStatus;
			//租户名称
			this.tenantId = data.tenantId;
		}
		
		this.toMap = function(){
			return $model.toMap(_this);
		};
		
		this.toString = function(){
			return $model.toString(_this);
		}
	}
	
	return project;
});